<template>
  <div id="app">
    {{test}} 
     <router-view></router-view>
     <button @click="fn">w </button>
  </div>
</template>

<script>


export default {
  name: 'App',
  data() {
    return {
      test:this.$store.state.msg
    }
    
  },
  methods: {
    fn(){
      console.log(this.$api.all.login());
    }
  },
  mounted() {
    // console.log(this.$api.all.login());
  },
 
}
</script>

<style>

</style>
